const typescript = require("rollup-plugin-typescript");
const path = require("path");
module.exports = {
  input: "./src/index.ts",
  output: {
    file: path.resolve(__dirname, "dist/rollup-plugin-polyfill.js"),
    format: "cjs",
  },
  external: ["@rollup/plugin-inject"],
  plugins: [typescript()],
};
